body,p,ul,figure{
    padding: 0px;
    margin: 0px;
}
body{
    overflow-x: hidden;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
    color: black;
}
/*头部图片*/
header div{
    width: 900px;
    margin: 0px auto;
    line-height: 0px;
}
header div img:nth-child(2){
    float: right;
    margin-top: 10px;
}
/*导航栏*/
nav{
    line-height: 40px;
    background-color: red;
}
nav ul{
    width: 1000px;
    margin: 0px auto;
}
nav ul::after{
    display: block;
    content: ' ';
    visibility: hidden;
    height: 0px;
    clear: both;
}
nav ul li{
    float: left;
    width: 90px;
    text-align: center;
}
nav ul li:nth-child(6){
    margin-right: 10px;
}
nav ul li:nth-child(2){
    margin-left: -10px;
}
nav ul li a{
    color: white;
}
nav ul li a:hover{
    color: blue;
    background-color: white;
    padding: 5px 5px 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

/*广告图片*/
.banner{
    width: 100%;
    line-height: 0px;
}
.banner img{
   width: 100%; 
}
main{
    background-color: #f6f6f6;
}
main .container{
    width: 1000px;
    margin: 0px auto 0px;
}
/*4-1.main_top*/
/*4.1-1 .main_top left*/
.main_top .left_nav{
    width: 210px;
    float: left;
}
.container .left_nav .pro_list ul li{
    text-align: right;
    font-size: 15px; 
    line-height: 40px;
}
.left_nav .pro_list ul li a:hover{
    background-color: red;
}
/*联系我们*/
.header_bg{
    background-image: url(../image/lm_bg.jpg);
    line-height: 40px;
    padding-left: 30px;
}
.left_nav .contact img{
    margin: 10px 0px 15px;
}
.left_nav .contact address{
    font-style: normal;
    font-size: 15px;
    line-height: 25px;
    padding-left: 10px;
}
/*main top right*/
.main_top .right_pro{
    width: 780px;
    float: right;
}
.more{
    float: right;
    font-size: 12px;
    padding:10px 5px 0px 0px;
    height: 12px;
}
.right_pro .pro_pic{
    margin: 10px;
}
figure{
    float: left;
    margin: 10px;
    text-align: center;
    padding: 10px;
    background-color: white;
}
figure:hover{
    background-color: red;
}
/*清除浮动*/
.clear{
    clear: both;
}
/*4-2.main_bottom*/
/*left_conpany,公司简介*/
.main_bottom .left_copmpany{
    width: 640px;
    float: left;
}
.main_bottom .left_copmpany img{
    margin: 10px;
    float: left;
}
.main_bottom .left_copmpany p{
    font-size: 14px;
    line-height: 20px;
    text-indent: 2em;
}
.main_bottom .right_news{
    width: 350px;
    float: right;
}
.right_news ul{
    margin-top: 15px;
}
.right_news ul li{
    line-height: 30px;
    overflow: hidden;
}
.right_news ul li a{
    float: left;
}
.right_news ul li a:hover{
    background-color: red;
}
.right_news ul li span{
    float: right;
    font-size: 15px;
    color: gray;
}
/*5.友情链接*/
.friend_link{
    line-height: 50px;
    font-size: 14px;
    width: 1000px;
    margin: 0px auto;
}
.friend_link a{
    margin-right: 30px;
}
.friend_link a:nth-child(1){
    font-size: 17px;
}
.friend_link a:hover{
    text-decoration: underline;
}
footer{
    background-color: red;
}
footer .foot{
    width: 500px;
    margin: 0px auto;
    font-size: 14px;
}
footer .foot p{
    line-height: 30px;
    color: white;
    text-align: center;
}